x=1:1:6;

y_LGR_kmeanspp =[0.98454,0.93192,0.92102,0.90488,0.88889,0.85230];

    

y_PLGM=[0.9866,0.9254,0.9188,0.9146,0.9066,0.8797];
y_PC=[0.9895,0.9554,0.9435,0.9395,0.9385,0.9102];
plot(x,y_LGR_kmeanspp,'-r.',x,y_PLGM,'-b.',x,y_PC,'-c.','LineWidth',2,'Markersize',16)
xlabel('Ng')
ylabel('RMSE')
set(gca,'xlim',[1,6]);
set(gca,'xtick',[1,2,3,4,5,6]);
set(gca,'xticklabel',[1,20,50,200,500,6040]);
set(gca,'ylim',[0.8,1]);
set(gca,'ytick',0.8:0.01:1);
set(gca,'yticklabel',0.8:0.01:1);
legend('LGR-kmeans++','PLGM','Predict&Cluster');